package com.xm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**Account 实体类
 * @author 康文程
 * @date 2023-12-12 下午 04:55
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Account {
    /**
     * 账号Id
     */
    private Integer accountId;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 邮箱
     */
    private String mailbox;
    /**
     * 密码
     */
    private String password;
    /**
     * 状态
     */
    private Integer state;

    public Account(String phone, String mailbox) {
        this.phone = phone;
        this.mailbox = mailbox;
    }
}
